package com.tjbank.cssys.repository;

import com.tjbank.cssys.domain.CkOrderMissedFrequency;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;


@Repository
public interface CkOrderMissedFrequencyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkOrderMissedFrequency record);

    int insertSelective(CkOrderMissedFrequency record);

    CkOrderMissedFrequency selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkOrderMissedFrequency record);

    int updateByPrimaryKey(CkOrderMissedFrequency record);

    List<CkOrderMissedFrequency> selectBySerialNumber(@Param("serialNumbers") Set<String> serialNumbers);

    void updateForeach(@Param("updateCkOrderMissedFrequencies") List<CkOrderMissedFrequency> updateCkOrderMissedFrequencies);

    void insertForeach(@Param("addCkOrderMissedFrequencies") List<CkOrderMissedFrequency> addCkOrderMissedFrequencies);
}